<?php

namespace app\api\controller;

// use Surest\Traits\TreeNode;
use app\traits\TreeNode;
use think\Controller;
use think\Request;

class BaseController extends Controller
{
    public $user = null;
    use TreeNode;

    public function __construct(Request $request)
    {
        $this->app_ = ['api'];
        parent::__construct();
        $this->user = $request->user;
    }
}
